﻿using Common.Infrastructure;
using System;
using System.Collections.Generic;
using System.Text;

namespace StatsData.Data.Entity
{
    /// <summary>
    /// 提案
    /// </summary>
    public class t_motion : EntityBase
    {
        [EntityFieldLength(50)]
        public string dept_code { get; set; }

        /// <summary>
        /// 改善金额
        /// </summary>
        public decimal benefit { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [EntityFieldLength(50)]
        public string status { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [EntityFieldLength(50)]
        public string user_code { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        [EntityFieldLength(50)]
        public string code { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [EntityFieldLength(50)]
        public string name { get; set; }

        public string name_en { get; set; }

        public string name_th { get; set; }

        /// <summary>
        /// 类别
        /// </summary>
        [EntityFieldLength(20)]
        public string category { get; set; }

        /// <summary>
        /// 不良数量
        /// </summary>
        public decimal qty { get; set; }

        /// <summary>
        /// 日期
        /// </summary>
        public DateTime motion_date { get; set; }
    }
}
